<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加博客</title>
</head>
<body>
<form method="post">
    {% csrf_token %}
    标题：<input type="text" name="title"><br><br>
    内容：<textarea name="content" style="width: 200px; height: 200px" ></textarea><br><br>
    作者：<select name="author">
            {% for author in authors %}
                <option value="{{ author.id }}">{{ author.name }}</option>
            {% endfor %}
        </select><br><br>
    添加时间：<input type="time" name="creat_time"><br><br>
    修改时间：<input type="time" name="updeat_time"><br><br>
    <input type="submit" value="添加">
</form>
</body>
</html>